﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class hsp_SpecialPriceC_Gridview : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("hsp_SpecialPriceC_Gridview", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("hsp_SpecialPriceC_Gridview", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("hsp_SpecialPriceC_Gridview", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("hsp_SpecialPriceC_Gridview", "UserName");
        [Column]
        public int No { get { return _No; } set { _No = value; EntityState.FieldChange("No"); } } private int _No; public static FieldInfo no = new FieldInfo("hsp_SpecialPriceC_Gridview", "No");
        [Column]
        public string SpecialC_Group { get { return _SpecialC_Group; } set { _SpecialC_Group = value; EntityState.FieldChange("SpecialC_Group"); } } private string _SpecialC_Group; public static FieldInfo specialC_Group = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_Group");
        [Column]
        public string SpecialC_Subgroup { get { return _SpecialC_Subgroup; } set { _SpecialC_Subgroup = value; EntityState.FieldChange("SpecialC_Subgroup"); } } private string _SpecialC_Subgroup; public static FieldInfo specialC_Subgroup = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_Subgroup");
        [Column]
        public string SpecialC_PH4 { get { return _SpecialC_PH4; } set { _SpecialC_PH4 = value; EntityState.FieldChange("SpecialC_PH4"); } } private string _SpecialC_PH4; public static FieldInfo specialC_PH4 = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_PH4");
        [Column]
        public string SpecialC_Tin { get { return _SpecialC_Tin; } set { _SpecialC_Tin = value; EntityState.FieldChange("SpecialC_Tin"); } } private string _SpecialC_Tin; public static FieldInfo specialC_Tin = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_Tin");
        [Column]
        public string SpecialC_Description { get { return _SpecialC_Description; } set { _SpecialC_Description = value; EntityState.FieldChange("SpecialC_Description"); } } private string _SpecialC_Description; public static FieldInfo specialC_Description = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_Description");
        [Column]
        public string SpecialC_Amount { get { return _SpecialC_Amount; } set { _SpecialC_Amount = value; EntityState.FieldChange("SpecialC_Amount"); } } private string _SpecialC_Amount; public static FieldInfo specialC_Amount = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_Amount");
        [Column]
        public string SpecialC_Unit { get { return _SpecialC_Unit; } set { _SpecialC_Unit = value; EntityState.FieldChange("SpecialC_Unit"); } } private string _SpecialC_Unit; public static FieldInfo specialC_Unit = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_Unit");
        [Column]
        public string SpecialC_Per { get { return _SpecialC_Per; } set { _SpecialC_Per = value; EntityState.FieldChange("SpecialC_Per"); } } 
        private string _SpecialC_Per="1"; 
        public static FieldInfo specialC_Per = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_Per");
        [Column]
        public string SpecialC_Uom { get { return _SpecialC_Uom; } set { _SpecialC_Uom = value; EntityState.FieldChange("SpecialC_Uom"); } } 
        private string _SpecialC_Uom="PC"; 
        public static FieldInfo specialC_Uom = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_Uom");
        [Column]
        public string SpecialC_Calculat_Type { get { return _SpecialC_Calculat_Type; } set { _SpecialC_Calculat_Type = value; EntityState.FieldChange("SpecialC_Calculat_Type"); } } private string _SpecialC_Calculat_Type; public static FieldInfo specialC_Calculat_Type = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_Calculat_Type");
        [Column]
        public string SpecialC_ScaleBasis { get { return _SpecialC_ScaleBasis; } set { _SpecialC_ScaleBasis = value; EntityState.FieldChange("SpecialC_ScaleBasis"); } } private string _SpecialC_ScaleBasis; public static FieldInfo specialC_ScaleBasis = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_ScaleBasis");
        [Column]
        public string SpecialC_Valid_From { get { return _SpecialC_Valid_From; } set { _SpecialC_Valid_From = value; EntityState.FieldChange("SpecialC_Valid_From"); } } private string _SpecialC_Valid_From; public static FieldInfo specialC_Valid_From = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_Valid_From");
        [Column]
        public string SpecialC_Valid_To { get { return _SpecialC_Valid_To; } set { _SpecialC_Valid_To = value; EntityState.FieldChange("SpecialC_Valid_To"); } } private string _SpecialC_Valid_To; public static FieldInfo specialC_Valid_To = new FieldInfo("hsp_SpecialPriceC_Gridview", "SpecialC_Valid_To");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("hsp_SpecialPriceC_Gridview", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("hsp_SpecialPriceC_Gridview", "Status");

    }
}
